.class Lcom/tendcloud/tenddata/fo$a;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field private volatile a:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/tendcloud/tenddata/fo$a;->a:Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/tendcloud/tenddata/fo$a;->a:Z

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method

.method public b()V
    .locals 1

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/tendcloud/tenddata/fo$a;->a:Z

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    :cond_0
    return-void
.end method

.method public run()V
    .locals 4

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/tendcloud/tenddata/fo$a;->a:Z

    if-nez v0, :cond_0

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v1

    invoke-static {v1}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    invoke-static {}, Lcom/tendcloud/tenddata/fo;->a()Lcom/tendcloud/tenddata/fo;

    move-result-object v0

    invoke-static {v0}, Lcom/tendcloud/tenddata/fo;->a(Lcom/tendcloud/tenddata/fo;)Landroid/os/Handler;

    move-result-object v0

    const-wide/16 v2, 0x1388

    invoke-virtual {v0, p0, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_1
    return-void
.end method
